<script>
import cannon from 'cannon'
import { CannonJSPlugin as Plugin } from '@babylonjs/core'
import AbstractPhysics from './AbstractPhysics.vue'

export default {
  name: 'CannonPhysics',
  mixins: [AbstractPhysics],

  methods: {
    getPhysicsPlugin() {
      return new Plugin(undefined, undefined, cannon)
    },
  },
}
</script>
